﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ProjetoComperio.DataLayer.Entities
{
    public class AcademicPerson : Person
    {


        [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
        public virtual String Enrollment { get; set; }

        public virtual String LattesPlatformWebPage { get; set; }

        public virtual int AcademicOrganizationID { get; set; }

        public virtual AcademicOrganization AcademicOrganization { get; set; }

        public virtual ICollection<Contribution> Contributions { get; set; }

        public virtual ICollection<KnowledgeArea> KnowledgeAreas { get; set; }
    }
}
